package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 人员
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@Data
public class JbdpEmployee extends Model<JbdpEmployee> {

    private static final long serialVersionUID=1L;

    /**
     * 人员主键
     */
    @TableId("EMPLOYEE_ID")
    private String employeeId;

    /**
     * 人员编码
     */
    @TableField("EMPLOYEE_CODE")
    private String employeeCode;

    /**
     * 人员姓名
     */
    @TableField("EMPLOYEE_NAME")
    private String employeeName;

    /**
     * 性别
     */
    @TableField("SEX")
    private String sex;

    /**
     * 电话
     */
    @TableField("EMPLOYEE_TEL")
    private String employeeTel;

    /**
     * 籍贯
     */
    @TableField("NATIVE_PLACE")
    private String nativePlace;

    /**
     * 名族
     */
    @TableField("NATION")
    private String nation;

    /**
     * 婚姻状况
     */
    @TableField("MARITAL_STATE")
    private String maritalState;

    /**
     * 参加工作时间
     */
    @TableField("WORK_DATE")
    private Date workDate;


    /**
     * 户籍所在地
     */
    @TableField("NATIVE_LOCATION")
    private String nativeLocation;

    /**
     * 身份证号
     */
    @TableField("CARD_NO")
    private String cardNo;

    /**
     * 最高学历
     */
    @TableField("MAX_EDUCATION")
    private String maxEducation;

    /**
     * 最后修改时间
     */
    @TableField("LAST_EDIT_TIME")
    private Date lastEditTime;

    /**
     * 排序
     */
    @TableField("ORDER_NO")
    private Integer orderNo;

    /**
     * 状态
     */
    @TableField("STATE")
    private Integer state;

    /**
     * 删除标示
     */
    @TableField("DEL_FLAG")
    private Integer delFlag;

    /**
     * 备用字段1
     */
    @TableField("DEF1")
    private String def1;

    /**
     * 备用字段2
     */
    @TableField("DEF2")
    private String def2;

    /**
     * 备用字段3
     */
    @TableField("DEF3")
    private String def3;

    /**
     * 备用字段4
     */
    @TableField("DEF4")
    private String def4;

    /**
     * 备用字段5
     */
    @TableField("DEF5")
    private String def5;


    @Override
    protected Serializable pkVal() {
        return this.employeeId;
    }

}
